import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import request from '@/utils/request'
import loginPop from '@/components/loginPop/loginPop.vue'
import {weiXinAppShare,base64Encrypt} from './utils/base.js'
import {getPartNumber,getLoginClient,wxLoginClient,checkPwd,getAddressLocation, withData,checkPaginationHasMore ,replaceConByPosition,replaceTime,checkcalendar,changeTime} from '@/utils/common.js'
Vue.use(plugins)
Vue.component('loginPop',loginPop)



Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$request = request
Vue.prototype.$withData = withData
Vue.prototype.$checkPaginationHasMore = checkPaginationHasMore
Vue.prototype.$replaceConByPosition = replaceConByPosition
Vue.prototype.$replaceTime = replaceTime
Vue.prototype.$checkcalendar = checkcalendar
Vue.prototype.$getAddressLocation = getAddressLocation
Vue.prototype.$base64Encrypt = base64Encrypt
Vue.prototype.$weiXinAppShare = weiXinAppShare
Vue.prototype.$checkPwd = checkPwd
Vue.prototype.$getLoginClient = getLoginClient
Vue.prototype.$wxLoginClient = wxLoginClient
Vue.prototype.$changeTime = changeTime
Vue.prototype.$getPartNumber = getPartNumber







App.mpType = 'app'

const app = new Vue({
  ...App
})

app.$mount()
